<!DOCTYPE html>
<html>
<head>
  <style>
    body{
      background-image: url("images1/img_1.png");
      background-size: cover;
      background-repeat: no-repeat;
      text-align: center;
    }

  </style>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
</head>
<body>
<!--添加返回组件-->

<form action="/updatePWD" method="post">
<div id="app">

  <el-page-header
          style="background-color: rgba(255,255,255,0);color: white;line-height:60px ;"
          @back="goBack">
  </el-page-header>

  <el-card style="width: 600px;height:400px;
                background-color: rgba(255,255,255,0.3);margin: 0 auto">
    <el-form style="width: 400px; margin:50px auto;" label-width="60px">
      <el-form-item  label="用户名">
        <el-input type="text" placeholder="请输入用户名" v-model="user.username" ></el-input>
      </el-form-item>

      <el-form-item label="身份证" >
        <el-input type="password" placeholder="请输入身份证号" v-model="user.password" ></el-input>
      </el-form-item>

      <el-form-item label="新密码" >
        <el-input type="password" placeholder="请输入新密码" v-model="user.newpassword" ></el-input>
      </el-form-item>

      <el-form-item>
        <el-input type="submit" value="修改 " style="font-size: large" ></el-input>
      </el-form-item>
    </el-form>

  </el-card>
</div>
</form>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
 let v = new Vue({
    el: '#app',
    data: function() {
      return {
        user:{username:"",password:"",newpassword:""}
      }
    },
   methods:{
     goBack() {
       history.back();//返回上一级
     },
   }
  })
</script>
</html>